package org.sunrise.game.client.client;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SocketClientManager {
    public static String socketType;

    public static SocketClient getInstance() {
        if (socketType.equals("tcp")) {
            return TcpClient.instance;
        } else if (socketType.equals("websocket")) {
            return WsClient.instance;
        }
        return TcpClient.instance;
    }
}
